
package com.icode.jaxws.client;

import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlElementDecl;
import javax.xml.bind.annotation.XmlRegistry;
import javax.xml.namespace.QName;


/**
 * This object contains factory methods for each 
 * Java content interface and Java element interface 
 * generated in the com.icode.jaxws.client package. 
 * <p>An ObjectFactory allows you to programatically 
 * construct new instances of the Java representation 
 * for XML content. The Java representation of XML 
 * content can consist of schema derived interfaces 
 * and classes representing the binding of schema 
 * type definitions, element declarations and model 
 * groups.  Factory methods for each of these are 
 * provided in this class.
 * 
 */
@XmlRegistry
public class ObjectFactory {

    private final static QName _Talk_QNAME = new QName("http://jaxws.icode.com/", "talk");
    private final static QName _TalkResponse_QNAME = new QName("http://jaxws.icode.com/", "talkResponse");

    /**
     * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.icode.jaxws.client
     * 
     */
    public ObjectFactory() {
    }

    /**
     * Create an instance of {@link TalkResponse }
     * 
     */
    public TalkResponse createTalkResponse() {
        return new TalkResponse();
    }

    /**
     * Create an instance of {@link Talk }
     * 
     */
    public Talk createTalk() {
        return new Talk();
    }

    /**
     * Create an instance of {@link JAXBElement }{@code <}{@link Talk }{@code >}}
     * 
     */
    @XmlElementDecl(namespace = "http://jaxws.icode.com/", name = "talk")
    public JAXBElement<Talk> createTalk(Talk value) {
        return new JAXBElement<Talk>(_Talk_QNAME, Talk.class, null, value);
    }

    /**
     * Create an instance of {@link JAXBElement }{@code <}{@link TalkResponse }{@code >}}
     * 
     */
    @XmlElementDecl(namespace = "http://jaxws.icode.com/", name = "talkResponse")
    public JAXBElement<TalkResponse> createTalkResponse(TalkResponse value) {
        return new JAXBElement<TalkResponse>(_TalkResponse_QNAME, TalkResponse.class, null, value);
    }

}
